feat: Add bashIde.shfmt.additionalArguments LSP setting. - #1387
Conversation
This will allow a user to extend the arguments being passed to the shfmt binary, and resolve bash-lsp#1385.
|
The tests are largely passing my local machine, except for a few that rely on the |
|
@kylechui do you mind fixing the test that fails on CI? |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1387 +/- ##
==========================================
- Coverage 80.29% 80.25% -0.04%
==========================================
Files 29 29
Lines 1578 1585 +7
Branches 389 392 +3
==========================================
+ Hits 1267 1272 +5
- Misses 248 249 +1
- Partials 63 64 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Ah sorry for the late response, thanks for pushing this through! |
This will allow a user to extend the arguments being passed to the
shfmtbinary, and resolve #1385.NOTE: I think that some of the tests had their number of arguments increased by one, since my wrapper
makeShfmtConfigwill imputelanguageDialect: 'auto'when it used to be omitted.